Skip to content

Add server settings with auth state #175

Merged
feedmeapples merged 1 commit intomainfrom
auth-settings
Dec 28, 2021
Merged

Add server settings with auth state #175
feedmeapples merged 1 commit intomainfrom
auth-settings

Conversation

@feedmeapples
Copy link
Copy Markdown
Contributor

@feedmeapples feedmeapples commented Dec 16, 2021

What was changed

  • Adds settings store and loads it up from /api/v1/settings
  • Conditionally removes the Sign in button depending on auth setting

related PR temporalio/ui-server#77

Why?

Removes unnecessary Sign In button when auth is disabled

Checklist

  1. Closes

  2. How was this tested:

  1. Load server with enabled and disabled auths

  2. Validate the sign in button only shows up when auth.enabled = false

  3. Any docs updates needed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants